Skip to content

[SR] Snapshot and Restore UI#39193

Merged
jen-huang merged 49 commits intoelastic:masterfrom
jen-huang:feature/snapshot-restore
Jun 28, 2019
Merged

[SR] Snapshot and Restore UI#39193
jen-huang merged 49 commits intoelastic:masterfrom
jen-huang:feature/snapshot-restore

Conversation

@jen-huang
Copy link
Copy Markdown
Contributor

@jen-huang jen-huang commented Jun 18, 2019

Snapshot and Restore UI

This PR adds phase 2 of Snapshot and Restore app (phase 1 PR). Previously this app was named Snapshot Repositories, now that this phase is complete, this app can finally be named properly 😄 This phase adds the following functionality:

  • Delete snapshots, one at a time or bulk, in Snapshots tab
  • Restore a snapshot using a form wizard, in Snapshots tab
  • Track index recovery progress, in new Recovery status tab

Outstanding items

A few items are currently outstanding for this feature and will be handled in separate PRs after this one is merged:

  • Client integration tests
  • API integration tests
  • Functional smoke test

Screenshots

I took too many screenshots so for your convenience they are grouped in collapsible sections below!

Delete snapshots .

Single delete, either by selecting one row, clicking trash can icon, or Delete button from details panel
image

Bulk delete by selecting multiple rows
image
image

Restore snapshot - entry .

Restore icon in row
image

If the snapshot is still in-progress, or otherwise invalid, restore icon is disabled
image

Restore button in details
image

Disabled restore button in details
image

Restore snapshot - wizard .

Step 1: Logistics

Include global state toggle is disabled when the snapshot does not have global state available
image

If all indices is toggled off, selectable list appears. Same pattern for rename indices toggle. All fields have real time validation
image

Step 2: Index settings

This step is optional
image

Modified index settings accepts a JSON input and checks for certain un-modifiable setting keys
image

Reset index settings is a combobox field that allows custom input for additional setting keys not listed in suggestions:
image

Step 3: Review

image

image

Executing restore loading state, after a few seconds, user is redirected to Recovery status tab
image

Recovery status .

Table with indices that have been recovered, or are being recovered, from a snapshot. Each row is expandable to drill down into per-shard recovery details
image

This table polls every 30 seconds by default, and the user can change the frequency of the polling
image

Every data update from a poll request will not interfere with the table UX - aka, there will be no flash of loading screen, current page will not reset, and expanded rows will stay expanded
image

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Snapshot and Restore Elasticsearch snapshots and repositories UI release_note:enhancement Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t// v7.3.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants